package com.ruoyi.project.wechat.service.impl;

import com.ruoyi.project.wechat.service.WxConfigService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.ruoyi.project.wechat.mapper.WxConfigMapper;
import java.util.List;
import com.ruoyi.project.wechat.domain.WxConfig;

@Service
public class WxConfigServiceImpl implements WxConfigService {

    @Resource
    private WxConfigMapper wxConfigMapper;

    @Override
    public int insert(WxConfig record) {
        return wxConfigMapper.insert(record);
    }

    @Override
    public int insertOrUpdate(WxConfig record) {
        return wxConfigMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(WxConfig record) {
        return wxConfigMapper.insertOrUpdateSelective(record);
    }

    @Override
    public int insertSelective(WxConfig record) {
        return wxConfigMapper.insertSelective(record);
    }

    @Override
    public int batchInsert(List<WxConfig> list) {
        return wxConfigMapper.batchInsert(list);
    }

    @Override
    public int deleteByPrimaryKey(String appId) {
        return wxConfigMapper.deleteByPrimaryKey(appId);
    }

    @Override
    public WxConfig selectByPrimaryKey(String appId) {
        return wxConfigMapper.selectByPrimaryKey(appId);
    }

    @Override
    public int updateByPrimaryKeySelective(WxConfig record) {
        return wxConfigMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(WxConfig record) {
        return wxConfigMapper.updateByPrimaryKey(record);
    }

    @Override
    public int updateBatch(List<WxConfig> list) {
        return wxConfigMapper.updateBatch(list);
    }
}

